package com.j180.springdatajpa_demo.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Access;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CountBean implements Serializable {

    private String genderName;
  //注意新版本的返回的数值是一个long类型的
    private Long num;
}
